package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipFaultDisplay;
import cc.comac.mom.bean.ResultDev;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipFaultDisplayService {
	@RequestMapping(value = "/p/cs/EquipFaultDisplayService/insertFaultDisplay",method = RequestMethod.POST)
	public ResultBean insertFaultDisplay(@RequestBody EquipFaultDisplay EquipFaultDisplay);
	
	@RequestMapping(value = "/p/cs/EquipFaultDisplayService/batchDelete",method = RequestMethod.POST)
	public ResultBean batchDelete(@RequestBody List<EquipFaultDisplay> list);
	
	@RequestMapping(value = "/p/cs/EquipFaultDisplayService/updateFaultDisplay",method = RequestMethod.POST)
	public ResultBean updateFaultDisplay (@RequestBody EquipFaultDisplay equipFaultDisplay);
	
	@RequestMapping(value = "/p/cs/EquipFaultDisplayService/selectBySomeField",method = RequestMethod.POST)
	public ResultDev selectBySomeField(@RequestBody EquipFaultDisplay equipFaultDisplay);
	

}
